package com.three.service;

import java.util.List;

import net.sf.json.JSONObject;

import com.three.entity.Clazz;

public interface ClazzService {

	public List<Clazz> findClassesByUid(Integer id);
	
	public String resetInviteCode(Integer cid);
	
	public String stopInviteCode(Integer cid);
	
	public JSONObject createClazz(String clazzName, Integer uid, String tecName);
	
	public String updateClazz(Integer cid,String name);
	
	public String deleteClazz(Integer cid);
	
	public JSONObject joinClazz(Integer uid,String inviteCode);
	
	public String quitClazz(Integer uid,Integer cid);
	
}
